package com.smartleanx.module.hrm.dal.dataobject.dingDing;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author mybatis-plus
 * @since 2024-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ding_column")
public class DingColumn extends Model<DingColumn> {

//    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String alias;

    /**
     * 字段详情
     */
    private String expression;

    /**
     * 钉钉考勤自定义模版字段
     */
    private Integer expressionId;

    private String extension;

    /**
     * 字段名称
     */
    private String name;

    private Integer status;

    private Integer subType;

    private Integer type;

    private Integer ddId;

    private Integer tenantId;
    private Integer isGence;

    private Integer genceId;

//    @Override
//    protected Serializable pkVal() {
//        return this.id;
//    }

}
